import "./index.less";
import { HashRouter, Routes, Route } from "react-router-dom";

import Login from "./login";
import Home from "./home";

export default () => {
  return (
    <HashRouter>
      <div className="pages">
        <Routes>
          {/* 登录页 */}
          <Route path="/login" element={<Login />} />
          {/* 主界面 */}
          <Route path="/" element={<Home />} />
        </Routes>
      </div>
    </HashRouter>
  );
};
